﻿@using (Script.Foot()) {
    <script type="text/javascript">
        $(function () {
            $(".alert").alert();
        });
    </script>
}

<div class="alert alert-dismissable @((Model.Type).ToString() == "Error" ? "alert-danger" : (Model.Type).ToString() == "Information" ? "alert-info" : "alert-warning") fade in">
    <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
    <strong>@Model.Type.ToString():</strong>&nbsp;@Html.Raw(Html.Encode(Model.Message).Replace("\n", "<br />"))
</div>
